package org.smr.ministore.service;

import org.smr.ministore.entities.GoodsSpecificationGroupOrgan;
import org.blade.service.base.BaseService;
import org.blade.service.base.BaseBatchService;
import org.blade.service.base.PaginationQueryService;
import org.smr.ministore.entities.vo.Assign2OrgansVO;

import java.util.List;

/**
 * @author blade
 *
 */
public interface GoodsSpecificationGroupOrganService extends BaseService<Long, GoodsSpecificationGroupOrgan>,
                                        BaseBatchService<Long, GoodsSpecificationGroupOrgan>,
                                        PaginationQueryService<Long, GoodsSpecificationGroupOrgan> {

    /**
     * 根据指派组织
     * @param assignee
     * @return List<GoodsSpecificationGroupOrgan>
     */
    List<GoodsSpecificationGroupOrgan> selectBy(Assign2OrgansVO assignee);

    /**
     * 根据id 删除
     * @param id
     * @return
     */
    int deleteByIdLogical(Long id);
}
